How to delete all leave balance record of a particular leave type eg. Sick Leave | Aruti
By Aylmer Ametewee on December 12, 2024
BeginnerTo delete any existing leave balance records including leave b/f, accrued, issued , adjustment & encashment of a particular leave type, please follow below process
- Take backup of the database
- Login to the sql studio
- Select the database along with the year required
- Right click and choose run new query
- Write the query as below and execute:
select * from lvleavetype_master (this will allow you view the various leave types and their leavetypeunkid)
delete lvleavebalance_tran where leavetypeunkid=4 (this will allow you to delete the leave records for that particular leave type)
Find below screenshot for process.
Was this article helpful?
More articles on Aruti